home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Cool Extras! / WallBall Screen Saver / WallBall.dxr / 00008_track paddle with mouseH.ls < prev    next >
Encoding:
Text File  |  1999-11-11  |  418 b   |  17 lines

  1. global gPaused, gCurrentSection
  2.  
  3. on exitFrame me
  4.   if gPaused = 0 then
  5.     sprite(me.spriteNum).locH = the mouseH
  6.     if not soundBusy(2) then
  7.       puppetSound(2, "paddle hum")
  8.       sprite(me.spriteNum).member = member(gCurrentSection && "paddle loop")
  9.     end if
  10.   else
  11.     if soundBusy(2) then
  12.       puppetSound(2, 0)
  13.       sprite(me.spriteNum).member = member(gCurrentSection && "paddle")
  14.     end if
  15.   end if
  16. end
  17.